package com.bean;

import java.util.HashSet;
import java.util.Set;

/**
 * Bookbase entity. @author MyEclipse Persistence Tools
 */

public class Bookbase implements java.io.Serializable {

	// Fields

	private String isbn;
	private String bookAuthor;
	private String bookName;
	private String bookPubdate;
	private String bookPublisher;
	private String bookPrice;
	private String bookSummary;
	private String bookImage;
	private String bookType;
	private Set bookinformations = new HashSet(0);
	private Set buies = new HashSet(0);

	// Constructors

	/** default constructor */
	public Bookbase() {
	}
    public Bookbase(String isbn){
    	this.isbn = isbn;
    }
	/** minimal constructor */
	public Bookbase(String isbn, String bookAuthor, String bookName,
			String bookPubdate, String bookPublisher, String bookPrice,
			String bookSummary, String bookImage, String bookType) {
		this.isbn = isbn;
		this.bookAuthor = bookAuthor;
		this.bookName = bookName;
		this.bookPubdate = bookPubdate;
		this.bookPublisher = bookPublisher;
		this.bookPrice = bookPrice;
		this.bookSummary = bookSummary;
		this.bookImage = bookImage;
		this.bookType = bookType;
	}

	/** full constructor */
	public Bookbase(String isbn, String bookAuthor, String bookName,
			String bookPubdate, String bookPublisher, String bookPrice,
			String bookSummary, String bookImage, String bookType,
			Set bookinformations, Set buies) {
		this.isbn = isbn;
		this.bookAuthor = bookAuthor;
		this.bookName = bookName;
		this.bookPubdate = bookPubdate;
		this.bookPublisher = bookPublisher;
		this.bookPrice = bookPrice;
		this.bookSummary = bookSummary;
		this.bookImage = bookImage;
		this.bookType = bookType;
		this.bookinformations = bookinformations;
		this.buies = buies;
	}

	// Property accessors

	public String getIsbn() {
		return this.isbn;
	}

	public void setIsbn(String isbn) {
		this.isbn = isbn;
	}

	public String getBookAuthor() {
		return this.bookAuthor;
	}

	public void setBookAuthor(String bookAuthor) {
		this.bookAuthor = bookAuthor;
	}

	public String getBookName() {
		return this.bookName;
	}

	public void setBookName(String bookName) {
		this.bookName = bookName;
	}

	public String getBookPubdate() {
		return this.bookPubdate;
	}

	public void setBookPubdate(String bookPubdate) {
		this.bookPubdate = bookPubdate;
	}

	public String getBookPublisher() {
		return this.bookPublisher;
	}

	public void setBookPublisher(String bookPublisher) {
		this.bookPublisher = bookPublisher;
	}

	public String getBookPrice() {
		return this.bookPrice;
	}

	public void setBookPrice(String bookPrice) {
		this.bookPrice = bookPrice;
	}

	public String getBookSummary() {
		return this.bookSummary;
	}

	public void setBookSummary(String bookSummary) {
		this.bookSummary = bookSummary;
	}

	public String getBookImage() {
		return this.bookImage;
	}

	public void setBookImage(String bookImage) {
		this.bookImage = bookImage;
	}

	public String getBookType() {
		return this.bookType;
	}

	public void setBookType(String bookType) {
		this.bookType = bookType;
	}

	public Set getBookinformations() {
		return this.bookinformations;
	}

	public void setBookinformations(Set bookinformations) {
		this.bookinformations = bookinformations;
	}

	public Set getBuies() {
		return this.buies;
	}

	public void setBuies(Set buies) {
		this.buies = buies;
	}

}